package com.qiaofang.applet.service.member.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.bson.types.ObjectId;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("浏览记录查询条件DTO")
public class MemberBrowseQueryDto {

    @ApiModelProperty("会员ID")
    @NotNull(message = "会员ID不能为空")
    private String memberId;

    @ApiModelProperty("业务类型: 新房 二手房 租房 经纪人")
    @NotNull(message = "业务类型不能为空")
    private String businessType;
}
